package com.qingyun.material.dto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;


@Data
public class MaterialDTO {

    private String title;

    private String description;

    private MultipartFile file;

    private String category;

    private String grade;

    private String subject;

    // 以下字段用于异步队列后的入库（由服务端在入队前填充）
    private String originalFileName;
    private String filePath; // 相对或OSS路径
    private Long fileSize;
    private String mimeType;
}